MainWindowVb.xaml
Language: Extensible Application Markup Language
Last Modified: 2020-06-27 1:58:34 PM UTC
File Size: 1395 bytes
Last Modified: 2020-06-27 1:58:34 PM UTC
File Size: 1395 bytes
http://www.penguinstew.ca/example/randomorder/MainWindowVb.xaml
<Window x:Class="MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Name="window"
Title="Random Order VB.net Test Program"
Width="435" Height="350" MinWidth="435"
MinHeight="150" Closing="Window_Closing"
Icon="/RandomOrderVb;component/Images/vbAppIcon.ico">
<Grid>
<ListBox Name="numberList" Width="Auto" Height="Auto"
Margin="15,15,15,50" HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
ItemsSource="{Binding}" />
<Label Name="status" Width="100" Height="28"
Margin="220,0,0,13" HorizontalAlignment="Left"
VerticalAlignment="Bottom"
Content="{Binding StatusContent, ElementName=window}" />
<ProgressBar Name="progress" Width="200" Height="23"
Margin="15,0,0,15" HorizontalAlignment="Left"
VerticalAlignment="Bottom"
Value="{Binding ProgressValue, ElementName=window}" />
<Button Name="generateButton" Width="75" Height="23"
Margin="0,0,15,15" HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Click="generateButton_Click" Content="Generate" />
</Grid>
</Window>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27